FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER wengzhonghui4@163.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /apps
WORKDIR /apps
EXPOSE 9001
ADD ./target/gateway.zip ./
RUN unzip ./gateway.zip
RUN rm -rf ./gateway.zip
CMD ["/apps/gateway/bin/start.sh"]